package com.springcloud.alibaba.config;

//import com.springcloud.alibaba.interceptor.FeignServiceNameRequestInterceptor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignConfig {

    @Value("${spring.application.name}")
    String serviceName;

//    @Bean
//    public FeignServiceNameRequestInterceptor requestInterceptor() {
//        return new FeignServiceNameRequestInterceptor(serviceName);
//    }
}
